package com.atguigu.tingshu.user.config.wechat.login;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 微信小程序配置
 * @author Haoran Sun
 * @since 2024/08/16
 */

@Data
@Component
@ConfigurationProperties(prefix = "wechat.login")
public class WeChatLoginConfig {

    /**
     * 微信小程序appId
     */
    private String appId;
    /**
     * 微信小程序appSecret
     */
    private String appSecret;


}
